package com.marktotop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.marktotop.entity.system.LoginLog;
import com.marktotop.response.ResultBean;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 登录日志表 服务类
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
public interface ILoginLogService extends IService<LoginLog> {

    /**
     * 添加登入日志
     * @param request
     */
    void add(HttpServletRequest request);

    /**
     * 分页展示 登录日志列表
     *
     * @param pageNum
     * @param pageSize
     * @param loginLog
     * @return
     */
    ResultBean findLoginLogList(Integer pageNum, Integer pageSize, LoginLog loginLog);
}
